package com.itheima.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class BusinessReportData {
    private Integer todayVisitsNumber = 0;//本日到诊人数
    private Integer thisWeekVisitsNumber = 0;//本周到诊人数
    private Integer thisMonthVisitsNumber = 0;//本月到诊人数
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date reportDate;//当前时间
    private Integer todayNewMember;//今日新会员数
    private Integer thisMonthNewMember;//本月新会员人数
    private Integer thisWeekNewMember;//本周新会员人数
    private Integer totalMember;//会员总数
    private Integer todayOrderNumber;//今日订单数量
    private Integer thisWeekOrderNumber;//本周订单数量
    private Integer thisMonthOrderNumber;//本月订单数量
    private List<BusinessReportData2> hotSetmeal;//热门套餐
}
